﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

// Reviewed

#pragma once

#include "GcmpGeometryInterface.h"
namespace gcmp
{
    class Coordinate3d;
    class IBody;

    class GCMP_GEOMETRY_INTERFACE_EXPORT AlgorithmHLRAcc
    {
    public:
        /// \brief  体的可见性查找。输入体集合，查找可见体ID
        /// \param[in]         brepBodies   输入体数组
        /// \param[in]         coord        视角坐标系
        /// \param[in,out]     visIDs       可见体IDs
        /// \param[in,out]     invisIDs     不可见体IDs
        /// \return    成功返回true，失败返回false
        static bool GetVisBodies(const std::vector<const IBody*>& brepBodies, const Coordinate3d& coord, std::vector<int>& visIDs, std::vector<int>& invisIDs);

     };
}
